﻿using Cheems.Control.Controls;
using Cheems.Interface.Media;
using Cheems.Interface.UserManagement;
using Prism.Ioc;
using Prism.Regions;
using System;
using System.Windows;
using System.Windows.Input;

namespace Cheems.HMI.Views
{
    /// <summary>
    /// Interaction logic for MainWindow.xaml
    /// </summary>
    public partial class MainWindow : Window
    {
        public IRegionManager _regionManager;
        public IContainerProvider _containerProvider;
        public MainWindow(IRegionManager regionManager, IContainerProvider containerProvider)
        {

            InitializeComponent();
            this._regionManager = regionManager;
            this._containerProvider = containerProvider;
            // 加载主窗体
            _regionManager.RegisterViewWithRegion("ContentRegion", "ChatWindow");
        }
    }
}
